package com.linkoog.devtools.project_manager.settings.domain;


import lombok.Data;
import org.jetbrains.annotations.NotNull;

@Data
public class ProjectInfo implements Comparable<ProjectInfo>{

    private String name;
    private String path;

    public ProjectInfo() {
    }

    public ProjectInfo(@NotNull String name, @NotNull String path) {
        this.name = name;
        this.path = path;
    }

    @Override
    public int compareTo(@NotNull ProjectInfo that) {
        return this.path.compareTo(that.path);
    }
}
